
#ifndef __XML_WRITER_H
#define __XML_WRITER_H

#include <libxml/xmlsave.h>

/** Class to wrap XML writing tasks. */
class XMLWriter
{
   public:
      static int xmlWrite(const char *filename, xmlDocPtr tdoc);
      static int xmlWrite(xmlBufferPtr buffer, xmlDocPtr tdoc);
};

#endif
